package cn.deschen.biz.domain.entity;

import cn.deschen.biz.domain.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author deschen
 * @since 2023-03-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="MsgRecord对象", description="")
public class MsgRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "消息ID")
    private String msgId;

    @ApiModelProperty(value = "发送状态(unsend未发送, success-发送成功, error-发送失败)")
    private String sendStatus;

    @ApiModelProperty(value = "消费状态(success-消费成功, error-消费失败)")
    private String consumerStatus;

    @ApiModelProperty(value = "消息内容")
    private String msgContent;

    @ApiModelProperty(value = "异常信息")
    private String exception;

}
